home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / OCEErrors.a < prev    next >
Text File  |  1996-05-01  |  18KB  |  311 lines

  1. ;
  2. ;    File:        OCEErrors.a
  3. ;
  4. ;    Contains:    Apple Open Collaboration Environment Error Interfaces.
  5. ;
  6. ;    Version:    Technology:    AOCE Toolbox 1.02
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__OCEERRORS__') = 'UNDEFINED' THEN
  19. __OCEERRORS__ SET 1
  20.  
  21.     IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN
  22.     include 'Errors.a'
  23.     ENDIF
  24.     IF FOR_SYSTEM7_ONLY THEN
  25. ;
  26. ;Allocated ranges:
  27. ;    AOCE General Errors                        -1500 to -1539
  28. ;    AOCE Authentication Errors                -1540 to -1609
  29. ;    AOCE Catalog Errors                        -1610 to -1680
  30. ;    
  31. ;    AOCE Standard Mail Errors                -1900 to -1949
  32. ;    AOCE Standard Catalog Errors            -1950 to -1969
  33. ;    AOCE Digital Signature Errors            -1970 to -1999
  34. ;
  35. ;    AOCE Templates Errors                    -15000 to -15039
  36. ;    AOCE Mail Errors                        -15040 to -15089
  37. ;    AOCE Messaging Errors                    -15090 to -15169
  38. ;    Reserved for future                        -15170 to -15199
  39. ;
  40. ;  AOCE General Errors (-1500 to -1539) 
  41.  
  42. kOCEToolboxNotOpen                EQU        -1500                ; Toolbox not open; perhaps its closing 
  43. kOCEInvalidCommand                EQU        -1501                ; Request code passed to a trap call is invalid 
  44. kOCEInvalidRef                    EQU        -1502                ; a reference to an object is obsolete or invalid 
  45. kOCEBufferTooSmall                EQU        -1503                ; the buffer supplied is too small for the task 
  46. kOCEVersionErr                    EQU        -1504                ; some manner of software version mismatch 
  47. kOCESyncAsyncErr                EQU        -1505                ; Op tried synchronously may only be done async, or vice versa 
  48. kOCEInternalErr                    EQU        -1506                ; the OCE toolbox has an internal error 
  49. kOCENotAnOwner                    EQU        -1507                ; this operation can only be done by the object's owner 
  50. kOCENotImplemented                EQU        -1508                ; Feature not implemented 
  51. kOCENotAuthenticated            EQU        -1509                ; The user must be authenticated 
  52. kOCEAlreadyExists                EQU        -1510                ; The object being added already exists 
  53. kOCEDoesntExist                    EQU        -1511                ; the object being referenced doesn't exist or cannot be found 
  54. kOCEConnectionErr                EQU        -1512                ; Unable to open or maintain a network transport 
  55. kOCEConnectionClosed            EQU        -1513                ; Connect has closed 
  56. kOCEInvalidRecipient            EQU        -1514                ; Invalid recipient/address for this command 
  57. kOCEInvalidIndex                EQU        -1515                ; invalid index (out of range) 
  58. kOCERefIsClosing                EQU        -1516                ; Object references is being closed, cannot complete command 
  59. kOCEHasPendingMsgs                EQU        -1517
  60. kOCEInvalidConfiguration        EQU        -1518
  61. kOCERequiredServicesNotAvailable EQU    -1519
  62. kOCEServerInactive                EQU        -1520
  63. kOCEMoreDiskSpaceNeeded            EQU        -1521                ; Inadequate disk space to safely complete operation 
  64. kOCEParamErr                    EQU        -50                    ; invalid parameter passed to toolbox 
  65. ;  AOCE Authentication Errors (-1540 to -1609) 
  66.  
  67. kOCEReadAccessDenied            EQU        -1540
  68. kOCEWriteAccessDenied            EQU        -1541
  69. kOCEAccessRightsInsufficient    EQU        -1542                ; stream needs to be authenticated, or not authorized, or someone other than agent trying to TPFC, or problem in server-to-server authentication 
  70. kOCEUnsupportedCredentialsVersion EQU    -1543                ; don't know how to read that version of credentials 
  71. kOCECredentialsProblem            EQU        -1544                ; couldn't successfully decrypt credentials 
  72. kOCECredentialsImmature            EQU        -1545                ; current time < first valid time 
  73. kOCECredentialsExpired            EQU        -1546                ; current time > expiry time 
  74. kOCEProxyImmature                EQU        -1547                ; current time < proxy start time 
  75. kOCEProxyExpired                EQU        -1548                ; current time > proxy expiry time 
  76. kOCEDisallowedRecipient            EQU        -1549                ; Recipient not specified in proxy 
  77. kOCENoKeyFound                    EQU        -1550                ; found no key for entity in question 
  78. kOCEPrincipalKeyNotFound        EQU        -1551                ; couldn't decode proxy because principal has no key 
  79. kOCERecipientKeyNotFound        EQU        -1552                ; recipient has no key 
  80. kOCEAgentKeyNotFound            EQU        -1553                ; in TPFC, agent has no key 
  81. kOCEKeyAlreadyRegistered        EQU        -1554                ; entity already has a key 
  82. kOCEMalformedKey                EQU        -1555                ; key is of an unknown encryption method, or key doesn't match password 
  83. kOCEUndesirableKey                EQU        -1556                ; password too short, key too simple, or trying to change cluster key to the same value 
  84. kOCEWrongIdentityOrKey            EQU        -1557                ; In CheckIdentity, name doesn't exist or key is wrong 
  85. kOCEInitiatorKeyProblem            EQU        -1558                ; either we couldn't find the initiator's key or we found it but couldn't successfully decrypt instructions or proxy 
  86. kOCEBadEncryptionMethod            EQU        -1559                ; the specified encryption method is not supported 
  87. kOCELocalIdentityDoesNotExist    EQU        -1560                ; LocalIdentity has to be setup 
  88. kOCELocalAuthenticationFail        EQU        -1561                ; LocalIdentity Login has to be done for this operation 
  89. kOCELocalIdentitySetupExists    EQU        -1562                ; LocalIdentity setup exists, use change instead of setup 
  90. kOCEDirectoryIdentitySetupExists EQU    -1563                ; DirectoryIdentity setup exists, use change instead of setup 
  91. kOCEDirectoryIdentitySetupDoesNotExist EQU -1564            ; DirectoryIdentity setup does not exist 
  92. kOCENotLocalIdentity            EQU        -1565                ; Use LocalIdentity calls instead! 
  93. kOCENoMoreIDs                    EQU        -1566                ; identity table is full 
  94. kOCEUnknownID                    EQU        -1567                ; identity passed is not valid 
  95. kOCEOperationDenied                EQU        -1568                ; LocalID operation denied 
  96. kOCEAmbiguousMatches            EQU        -1569                ; ambiguous matches found in resolving CIDs (more than 1 CID) 
  97. kOCENoASDSPWorkSpace            EQU        -1570                ; No ASDSP workspace passed for Open Secure Stream 
  98. kOCEAuthenticationTrouble        EQU        -1571                ; generic authentication problem 
  99. ;  AOCE Catalog Errors (-1610 to -1680) 
  100.  
  101. kOCENotLocal                    EQU        -1610                ; the server does not serve the requested dNode 
  102. kOCETooBusy                        EQU        -1611                ; server cannot complete call at this time 
  103. kOCEDatabaseFull                EQU        -1612                ; disk is full 
  104. kOCETargetDirectoryInaccessible    EQU        -1613                ; Catalog server not responding 
  105. kOCEBogusArgs                    EQU        -1614                ; Args not formatted correctly on the wire 
  106. kOCENoSuchDNode                    EQU        -1615                ; the requested dNode does not exist 
  107. kOCEDNodeUnavailable            EQU        -1616                ; could not find any servers that serve the requested dNode 
  108. kOCEBadRecordID                    EQU        -1617                ; invalid RecordID (usually name and/or type don't match cid) 
  109. kOCENoSuchRecord                EQU        -1618                ; the specified record does not exist 
  110. kOCENoSuchAttributeValue        EQU        -1619                ; The attribute value that was passed in does not exist 
  111. kOCENoSuchPseudonym                EQU        -1620                ; the specified pseudonym does not exist 
  112. kOCEAttributeValueTooBig        EQU        -1621                ; self-explanatory 
  113. kOCETypeExists                    EQU        -1622                ; The type already exists in the record 
  114. kOCEMoreData                    EQU        -1623                ; only a warning - buffer not big enough 
  115. kOCERefNumBad                    EQU        -1624                ; RefNum is not valid 
  116. kOCEStreamCreationErr            EQU        -1625                ; problem creating stream 
  117. kOCEOperationNotSupported        EQU        -1626                ; the specified catalog does not support this operation 
  118. kOCEPABNotOpen                    EQU        -1627                ; specified Personal Catalog is not open to make the operation 
  119. kOCEDSAMInstallErr                EQU        -1628                ; specified CSAM could not be installed 
  120. kOCEDirListFullErr                EQU        -1629                ; catalog list is full, try removing an entry 
  121. kOCEDirectoryNotFoundErr        EQU        -1630                ; catalog was not found in the list 
  122. kOCEAbortNotSupportedForThisCall EQU    -1631                ; this call cannot be aborted 
  123. kOCEAborted                        EQU        -1632                ; this call was aborted 
  124. kOCEOCESetupRequired            EQU        -1633                ; LocalIdentity Setup is required 
  125. kOCEDSAMRecordNotFound            EQU        -1634                ; CSAM Record not found 
  126. kOCEDSAMNotInstantiated            EQU        -1635                ; CSAM is not instantiated 
  127. kOCEDSAMRecordExists            EQU        -1636                ; CSAM record already exists 
  128. kOCELengthError                    EQU        -1637                ; supplied buffer was too small 
  129. kOCEBadStartingRecord            EQU        -1638                ; Lookup starting record is not within range 
  130. kOCEBadStartingAttribute        EQU        -1639                ; Lookup starting attribute is not within range 
  131. kOCEMoreAttrValue                EQU        -1640                ; attribute value could not fit into buffer (even though it was the only value) 
  132. kOCENoDupAllowed                EQU        -1641
  133. kOCENoSuchAttributeType            EQU        -1642
  134. kOCEMiscError                    EQU        -1643                ; some other error 
  135. kOCENoSuchIcon                    EQU        -1644                ; no matching icon from GetDirectoryIcon 
  136. kOCERLIsDontMatch                EQU        -1645                ; RLIs do not match in lookup 
  137. kOCEDirectoryCorrupt            EQU        -1646                ; Serious disk fill corruption problem 
  138. ;  AOCE Standard Mail Errors (-1900 to -1949) 
  139.  
  140. kSMPNotEnoughMemoryForAllRecips    EQU        -1900
  141. kSMPCopyInProgress                EQU        -1901
  142. kSMPMailerNotInitialized        EQU        -1902
  143. kSMPShouldNotAddContent            EQU        -1903
  144. kSMPMailboxNotFound                EQU        -1904
  145. kSMPNoNextLetter                EQU        -1905
  146. kSMPHasOpenAttachments            EQU        -1906
  147. kSMPFinderNotRunning            EQU        -1907
  148. kSMPCommandDisabled                EQU        -1908
  149. kSMPNoMailerInWindow            EQU        -1909
  150. kSMPNoSuchAddress                EQU        -1910
  151. kSMPMailerAlreadyInWindow        EQU        -1911
  152. kSMPMailerUneditable            EQU        -1912
  153. kSMPNoMatchingBegin                EQU        -1913
  154. kSMPCannotSendReceivedLetter    EQU        -1914
  155. kSMPIllegalForDraftLetter        EQU        -1915
  156. kSMPMailerCannotExpandOrContract EQU    -1916
  157. kSMPMailerAlreadyExpandedOrContracted EQU -1917
  158. kSMPIllegalComponent            EQU        -1918
  159. kSMPMailerAlreadyNotTarget        EQU        -1919
  160. kSMPComponentIsAlreadyTarget    EQU        -1920
  161. kSMPRecordDoesNotContainAddress    EQU        -1921
  162. kSMPAddressAlreadyInList        EQU        -1922
  163. kSMPIllegalSendFormats            EQU        -1923
  164. kSMPInvalidAddressString        EQU        -1924
  165. kSMPSubjectTooBig                EQU        -1925
  166. kSMPParamCountErr                EQU        -1926                ;  enclosure count != 1, while sendEnclosure Only == true. 
  167. kSMPTooManyPages                EQU        -1927                ;  Exceeding the image page limit. 
  168. kSMPTooManyEnclosures            EQU        -1928
  169. ;  AOCE Standard Catalog Errors (-1950 to -1969) 
  170.  
  171. kSDPNoSearchText                EQU        -1950
  172. kSDPTooManyLoginAttempts        EQU        -1951
  173. kSDPNoSelection                    EQU        -1952
  174. kSDPPersonalDirectoryRepairFailed EQU    -1953
  175. ;  AOCE Digital Signature Errors (-1970 to -1999) 
  176.  
  177. kSIGOperationIncompatibleErr    EQU        -1970                ; context in use for different type of operation 
  178. kSIGCertificateQueryDenied        EQU        -1971                ; can't query certificates with this context 
  179. kSIGVerifyFailedErr                EQU        -1972                ; verification failed 
  180. kSIGInvalidCredentialErr        EQU        -1973                ; verified OK but credential out of date,  either pending or expired 
  181. kSIGIndexErr                    EQU        -1974                ; the index given is outside the range of allowable values 
  182. kSIGSignerErr                    EQU        -1975                ; problem with the signer or signature itself 
  183. kSIGPasswordErr                    EQU        -1976                ; password is incorrect 
  184. kSIGInternalsErr                EQU        -1977                ; an internal error occurred like a bad digest, context or signature 
  185. kSIGToolboxNotPresentErr        EQU        -1978                ; for client services (ie servers) to report back - not retruned by the TB 
  186. kSIGContextPrepareErr            EQU        -1979                ; context either prepared with VerifyPrepare, SignPrepare or DigestPrepare already or has been corrupted 
  187. kSIGNoDigestErr                    EQU        -1980                ; no digest in the signature 
  188. kSIGConversionErr                EQU        -1981                ; unabled to convert an attribute to Mac format 
  189. kSIGSignerNotValidErr            EQU        -1982                ; Signer has either expired or is pending and can not sign 
  190. kSIGNoSignature                    EQU        -1983                ; standard file signature not found 
  191. ;  AOCE Templates Errors (-15000 to -15039) 
  192.  
  193. kDETInvalidTargetAspectName        EQU        -15000                ; Could not locate an aspect by name 
  194. kDETInvalidTargetItemNumber        EQU        -15001                ; Item number is target invalid (out of range 1..<number of children>) 
  195. kDETInvalidTargetFromNonAspect    EQU        -15002                ; Target selection relative to non-aspect object which requires an aspect 
  196. kDETInvalidTargetDSSpec            EQU        -15003                ; Target DSSpec could not be resolved 
  197. kDETUnknownTargetSelector        EQU        -15004                ; Unknown selector type for target specification 
  198. kDETInvalidTarget                EQU        -15005                ; Target specification was invalid (for reasons other than those above) 
  199. kDETTargetNotAnAspect            EQU        -15006                ; Specified target object was not an aspect 
  200. kDETInvalidCommandItemNumber    EQU        -15007                ; Command item number invalid (out of range 1..<number of items in selection>) 
  201. kDETUnableToGetCommandItemSpec    EQU        -15008                ; Unable to retrieve item specification (internal error, possibly out of memory) 
  202. kDETRequestedTypeUnavailable    EQU        -15009                ; Command item could not be represented in the form requested 
  203. kDETInvalidDSSpec                EQU        -15010                ; Could not resolve DSSpec (other than in target; see error above for targets) 
  204. kDETUnableToAccessProperty        EQU        -15011                ; Property could not be found and/or created 
  205. kDETInfoPageNotOpen                EQU        -15012                ; Info-page not open; request requires an open info-page 
  206. kDETNoSuchView                    EQU        -15013                ; No view found with specified property number 
  207. kDETCouldNotAddMenuItem            EQU        -15014                ; Could not add item to dynamic menu 
  208. kDETCouldNotRemoveMenuItem        EQU        -15015                ; Could not remove item from dynamic menu 
  209. kDETCouldNotFindMenuItem        EQU        -15016                ; Could not find menu item 
  210. kDETCouldNotFindCustomView        EQU        -15017                ; Could not find custom view in info-page 
  211. kDETInvalidReqFunction            EQU        -15018                ; Invalid call-back request function 
  212. kDETInvalidCallBack                EQU        -15019                ; Invalid call-back (for reasons other than those above) 
  213. kDETPropertyBusy                EQU        -15020                ; Edit is open on the property being set 
  214. ;  AOCE Mail Errors (-15040 to -15089) 
  215.  
  216. kMailInvalidOrder                EQU        -15040                ; This object has already been written to and cannot be written again 
  217.                                                             ; handle non-zero offsets for now 
  218. kMailInvalidSeqNum                EQU        -15041                ; Invalid letter sequence o refers to an non-existent letter 
  219. kMailAttrNotInHdr                EQU        -15042                ; attribute does not exist in this letter header 
  220. kMailHdrAttrMissing                EQU        -15043                ; required attribute not written into letter header 
  221. kMailBadEnclLengthErr            EQU        -15044                ; incorrect number of bytes has been written after memForm of PutEnclosure 
  222. kMailInvalidRequest                EQU        -15045                ; cannot putAttr for report, putRcptReport for letter 
  223. kMailInvalidPostItVersion        EQU        -15046                ; cannot create new postit with this version 
  224. kMailNotASlotInQ                EQU        -15047                ; queueID does not refer to a slot's incoming queue 
  225. kMailLtrNotOpen                    EQU        -15048                ; letter is not open, probably not cached in inQ 
  226. kMailMissingMailCat                EQU        -15049                ; trying to create message in inq, with no postIt 
  227. kMailCannotWriteMailCat            EQU        -15050                ; cannot update a mail catentry 
  228. kMailTooManyTagsPerLetter        EQU        -15051                ; cannot add more than kMaxTagsPerLetter tags 
  229. kMailGwyDead                    EQU        -15052                ; MSAM died 
  230. kMailIgnoredErr                    EQU        -15053                ; ePPC message was ignored 
  231. kMailLengthErr                    EQU        -15054                ; ePPC message did not complete 
  232. kMailTooManyErr                    EQU        -15055                ; Too many = request outstanding, 
  233. kMailNoMSAMErr                    EQU        -15056                ; no MSAMs found in mailbox! or for command 
  234. kMailCancelled                    EQU        -15057
  235. kMailSlotSuspended                EQU        -15058
  236. kMailMSAMSuspended                EQU        -15059
  237. kMailBadSlotInfo                EQU        -15060
  238. kMailMalformedContent            EQU        -15061                ; a mailed structure is malformed 
  239. kMailNoSuchSlot                    EQU        -15062                ; no such slot 
  240. kMailBadLtrInfo                    EQU        -15063                ; bad info there, can't change 
  241. kMailSetFailed                    EQU        -15064                ; could not set letter info 
  242. kMailBadConfig                    EQU        -15065                ; MSAM has bad config info 
  243. kMailBadMSAM                    EQU        -15066                ; bad MSAM: not usable = reason unspec, 
  244. kMailCannotLkupServerSlots        EQU        -15067                ; cannot lookup adas for server mail slots 
  245. kMailBadState                    EQU        -15068                ; the state specifiy is not in any of defined 
  246. ;  AOCE Messaging Errors (-15090 to -15169) 
  247.  
  248. kIPMCantCreateIPMCatEntry        EQU        -15090
  249. kIPMInvalidMsgType                EQU        -15091                ; bad msg hint 
  250. kIPMInvalidProcHint                EQU        -15092                ; bad proc hint 
  251. kIPMInvalidOffset                EQU        -15093                ; bad offset for read/write 
  252. kIPMUpdateCatFailed                EQU        -15094
  253. kIPMMsgTypeReserved                EQU        -15095
  254. kIPMNotInABlock                    EQU        -15096
  255. kIPMNestedMsgOpened                EQU        -15097
  256. kIPMA1HdrCorrupt                EQU        -15098
  257. kIPMCorruptDataStructures        EQU        -15099
  258. kIPMAbortOfNestedMsg            EQU        -15100
  259. kIPMBlockIsNotNestedMsg            EQU        -15101
  260. kIPMCacheFillError                EQU        -15102
  261. kIPMInvalidSender                EQU        -15103
  262. kIPMNoRecipientsYet                EQU        -15104
  263. kIPMInvalidFilter                EQU        -15105
  264. kIPMAttrNotInHdr                EQU        -15106
  265. kIPMBlkNotFound                    EQU        -15107
  266. kIPMStreamErr                    EQU        -15108                ; Error on stream (should this ever go out?) 
  267. kIPMPortClosed                    EQU        -15109                ; Port closed (should this ever go out?) 
  268. kIPMBinBusy                        EQU        -15110
  269. kIPMCorruptedBin                EQU        -15111
  270. kIPMBadQName                    EQU        -15112
  271. kIPMEndOfBin                    EQU        -15113
  272. kIPMBinNeedsConversion            EQU        -15114
  273. kIPMMgrInternalErr                EQU        -15115
  274. kIPMEltBusy                        EQU        -15116
  275. kIPMEltClosedNotDeleted            EQU        -15117
  276. kIPMBadContext                    EQU        -15118
  277. kIPMContextIsClosing            EQU        -15119
  278. kIPMeoQ                            EQU        -15120
  279. kIPMQOutOfSpace                    EQU        -15121
  280. kIPMEltNotFound                    EQU        -15122
  281. kIPMBinOutOfSpace                EQU        -15123
  282. kIPMeoCatEntry                    EQU        -15124
  283. kIPMeoElt                        EQU        -15125
  284. kIPMQBusy                        EQU        -15126
  285. kIPMNotSameBin                    EQU        -15127
  286. kIPMNoMoreServices                EQU        -15128
  287. kIPMLookupAttrTooBig            EQU        -15129                ; attribute in lookup is too big 
  288. kIPMUnknownUAM                    EQU        -15130
  289. kIPMUnsupportedLogin            EQU        -15131
  290. kIPMLogInUnknown                EQU        -15132
  291. kIPMNoMoreFilters                EQU        -15133
  292. kIPMCouldNotReadInfoReply        EQU        -15134
  293. kIPMInvalidUser                    EQU        -15135
  294. kIPMNoMoreSessions                EQU        -15136
  295. kIPMNilUserProc                    EQU        -15137
  296. kIPMBadCatSize                    EQU        -15138
  297. kIPMIncompleteMsg                EQU        -15139
  298. kIPMNoResponsibleTunnel            EQU        -15140
  299. kIPMAccessDenied                EQU        -15141
  300. kIPMReplyParamUnderrun            EQU        -15142                ; Too few reply parameters 
  301. kIPMReplyParamOverrun            EQU        -15143                ; Too many reply parameters 
  302. kIPMRequestParamUnderrun        EQU        -15144                ; Too few request parameters 
  303. kIPMOutOfSync                    EQU        -15145                ; Protocol sync. error 
  304. kIPMNoAttrsFound                EQU        -15146                ; couldn't find any attrs in lookup 
  305. kIPMWrongAttrTag                EQU        -15147                ; wrong attr tag in adas lookup 
  306. kIPMNullCID                        EQU        -15148                ; null cid in enumerate 
  307. kIPMBadMailSlotAttrVal            EQU        -15149                ; invalid mailslot attr value 
  308.     ENDIF
  309.     ENDIF ; __OCEERRORS__ 
  310.  
  311.